-
Home
-
Hotel Booking Lite
-
4.8.1
-
Code
-
Classes
- DateUtils
Total Complexity |
57 |
Dependencies |
4 |
Dependents |
45 |
Total lines |
468 |
Lines of code |
240 |
Logical lines of code |
135 |
Comment lines |
162 |
Methods |
29 |
Properties |
0 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createQuarterPeriod() |
S |
51 |
7 |
24 |
getSiteTimeZone() |
S |
54 |
4 |
19 |
createDatePeriod() |
S |
61 |
4 |
11 |
createCheckOutDate() |
S |
65 |
4 |
8 |
createCheckInDate() |
S |
65 |
4 |
8 |
getPostDateTimeUTC() |
S |
63 |
3 |
11 |
convertDateFormat() |
S |
67 |
3 |
7 |
parseTime() |
S |
60 |
2 |
14 |
nextTimestampWithTime() |
S |
62 |
2 |
11 |
dateFormatToRegex() |
S |
58 |
1 |
16 |
createDateRangeArray() |
S |
66 |
2 |
8 |
createWeekPeriod() |
S |
65 |
2 |
9 |
createThirtyDaysPeriod() |
S |
64 |
2 |
10 |
getDayByKey() |
S |
74 |
2 |
4 |
getDaysList() |
S |
63 |
1 |
11 |
isDate() |
S |
72 |
1 |
5 |
currentDateWithTime() |
S |
66 |
1 |
8 |
formatModifiedDate() |
S |
74 |
1 |
4 |
formatDateDB() |
S |
80 |
1 |
3 |
cloneModify() |
S |
73 |
1 |
5 |
createYearPeriod() |
S |
69 |
1 |
6 |
formatDateTimeDB() |
S |
80 |
1 |
3 |
createDayPeriod() |
S |
68 |
1 |
6 |
extractDayMonthYear() |
S |
69 |
1 |
6 |
calcNights() |
S |
66 |
1 |
8 |
calcNightsSinceToday() |
S |
74 |
1 |
4 |
formatTimeWPFront() |
S |
78 |
1 |
3 |
formatDateWPFront() |
S |
78 |
1 |
3 |
createMonthPeriod() |
S |
71 |
1 |
5 |